package com.example.secondhand;

import com.example.secondhand.common.utils.OrderTaskHandler;
import com.example.secondhand.common.utils.PathUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//启动类
@SpringBootApplication
@MapperScan("com.example.secondhand.dao")
public class secondhandApplication {

    public static void main(String[] args) {
        System.out.println("Project Path: " + PathUtils.getClassLoadRootPath());
        SpringApplication.run(secondhandApplication.class, args);
        OrderTaskHandler.run();
    }

}
